{include file="header.html"}

<div class="page-header">
	<h6>
		套餐管理
		<small>
			<i class="ace-icon fa fa-angle-double-right"></i>
			手动为会员增加套餐
		</small>
	</h6>
</div><!-- /.page-header -->
<div class="row">
<div class="col-xs-12">
	<form class="form-horizontal" role="form" method="post" action="?app=meal&act=manual_meal" enctype="multipart/form-data">
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="member_id"> 会员 </label>
			<div class="col-sm-10">
				<!--
				<select name="member_id" id="member_id" class="form-control">
					<option value="">请选择会员</option>
					{foreach from=$members name=member item=member}
					<option value="{$member->id}" {if $member_id=={$member->id}}selected{/if}>{$member->name}({$member->mobile})</option>
					{/foreach}
				</select> 
				-->
				<input type="text" id="mobile" name="mobile" value="" class="col-xs-4" /> 请输入会员手机号码
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="meal_id"> 套餐 </label>
			<div class="col-sm-5">
				<select name="meal_id" id="meal_id" class="form-control">
					<option value="">请选择套餐</option>
					{foreach from=$meals name=g item=g}
					<option value="{$g->id}">{$g->name}</option>
					{/foreach}
				</select> 
			</div>
		</div>

		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="num"> 套餐剩余次数 </label>
			<div class="col-sm-10">
				<input type="text" id="num" name="num" value="" class="col-xs-2" />  次
			</div>
		</div>

		<div class="clearfix form-actions">
			<div class="col-md-offset-3 col-md-9">
				<button class="btn btn-info" type="submit">
					<i class="ace-icon fa fa-check bigger-110"></i>
					提交
				</button>

				&nbsp; &nbsp; &nbsp;
				<button class="btn" type="reset">
					<i class="ace-icon fa fa-undo bigger-110"></i>
					重置
				</button>
			</div>
		</div>
	</form>
</div>
</div>

{include file="footer.html"}